import { LoadChildren } from '@angular/router';
import { QkNoticeBaseComponent } from './qknotice-base.component';
import { QkNoticeEditComponent } from './qknotice-edit.component';
import { QkNoticeLisboxComponent } from './qknotice-listbox.component';

export const noticeRoutes = [
	{
		path: '',
		component: QkNoticeBaseComponent,
		children: [
			/** 默认跳转界面 **/
			{ path: '', redirectTo: 'edit', pathMatch: 'full' },
			/**  邮件编辑  **/
			{
				path: 'edit',
				component: QkNoticeEditComponent
			},
			/**  草稿箱  **/
			{
				path: 'draft',
				component: QkNoticeLisboxComponent
			},
			/**  发件箱  **/
			{
				path: 'delivery',
				component: QkNoticeLisboxComponent
			}
		]
	}
];